
set(EXECUTABLE_NAME test_bind_function)
add_executable(
        ${EXECUTABLE_NAME}
        ${PROJECT_SOURCE_DIR}/test/test_bind_function.cpp
)
if (CMAKE_SYSTEM_NAME MATCHES "Linux")
        add_definitions(-D __linux__)
        target_link_libraries(${EXECUTABLE_NAME} libserv pthread)
elseif (CMAKE_SYSTEM_NAME MATCHES "Windows")
        add_definitions(-D __WIN32)
        target_link_libraries(${EXECUTABLE_NAME} libserv_static)
endif ()
